<?xml version="1.0"?>
<#import "../../activities/common/kotlin_macros.ftl" as kt>
<recipe>
           
    <#if itemStyle == 'linear'>
        <instantiate from="root/res/layout/item_linear.xml.ftl"
                       to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />    	
	<#elseif itemStyle == 'relative'>
		 <instantiate from="root/res/layout/item_relative.xml.ftl"
		               to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
	<#else>
        <instantiate from="root/res/layout/item_linear.xml.ftl"
                       to="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />
	</#if>

	<open file="${escapeXmlAttribute(resOut)}/layout/${layoutName}.xml" />

    <instantiate from="root/src/app_package/SimpleHolder.${ktOrJavaExt}.ftl"
           to="${escapeXmlAttribute(srcOut)}/${holderClass}.${ktOrJavaExt}" />
    <open file="${escapeXmlAttribute(srcOut)}/${holderClass}.${ktOrJavaExt}" />

</recipe>
